Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / UpDownBase<T> Class / ClipValueToMinMax Property


In This Topic
    ClipValueToMinMax Property
    In This Topic
    Gets or sets if typing a value that exceeds the values set in the Minimum or Maximum properties will clip said value to those pre-determined thresholds.
    Syntax
    'Declaration
     
    
    Public Property ClipValueToMinMax As Boolean
    'Usage
     
    
    Dim instance As UpDownBase(Of T)
    Dim value As Boolean
     
    instance.ClipValueToMinMax = value
     
    value = instance.ClipValueToMinMax
    public bool ClipValueToMinMax {get; set;}
    Remarks
    When the value is set to false, typing a value exceeding either the Minimum or Maximum value will throw an exception; this is the default setting.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also